<h1>{$model->title}</h1>

<div class="post-detail">
<p class="date">{$model->publish_date|date_format:"%e.%m.%Y %H:%M"}</p>
<div class="text">{$model->text}</div>
{if ($isAuthor == true)}
<a href="/post/delete/{$model->post_id}" class="more">Удалить</a> <a href="/post/update/{$model->post_id}" class="more">Редактировать</a>
{/if}

{commentFlowWidget commentFlowId=$model->comment_flow_id count=5}

</div>